package com.lvtulife.paas.gtd.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.lvtulife.common.entity.BaseEntity;

import java.util.Date;

/**
 * 主干目标表
 */
@TableName("gtd_aim_trunk")
public class GtdAimTrunk extends BaseEntity {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 上级ID
     */
    private Long pid;

    /**
     * 划分单位：1年度；2季度；3月度
     */
    private Integer partUnit;

    /**
     * 划分单位值(年份2016-2060、季度1-4、月份1-12)
     */
    private Integer partValue;

    /**
     * 目标内容ID
     */
    private Long aid;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 创建时间
     */
    private Date createdDt;

    /**
     * 更新时间
     */
    private Date updatedDt;

    public GtdAimTrunk() {
    }

    public GtdAimTrunk(Long id) {
        super.setId(id);
    }

    public Long getPid() {
        return this.pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public Integer getPartUnit() {
        return this.partUnit;
    }

    public void setPartUnit(Integer partUnit) {
        this.partUnit = partUnit;
    }

    public Integer getPartValue() {
        return this.partValue;
    }

    public void setPartValue(Integer partValue) {
        this.partValue = partValue;
    }

    public Long getAid() {
        return this.aid;
    }

    public void setAid(Long aid) {
        this.aid = aid;
    }

    public Date getCreatedDt() {
        return this.createdDt;
    }

    public void setCreatedDt(Date createdDt) {
        this.createdDt = createdDt;
    }

    public Date getUpdatedDt() {
        return updatedDt;
    }

    public void setUpdatedDt(Date updatedDt) {
        this.updatedDt = updatedDt;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
}
